package com.example.light.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@ApiModel(value = "登录日志文件")
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("system_log")
public class systemLog {
    @ApiModelProperty("系统日志文件id")
    @TableId(type = IdType.AUTO)
    private Integer sysId;

    @ApiModelProperty("cpu使用率")
    private Double sysCpu;

    @ApiModelProperty("磁盘使用率")
    private Double sysDisk;

    @ApiModelProperty("物理内存使用率")
    private Double sysPhyMey;


    @ApiModelProperty("虚拟内存使用率")
    private Double sysVirMey;
}
